<style>
	label input {
    display: none; }
    label span {
    display: block;
    width: 24px !important;
   
    height: 24px !important;
    border: 1px solid #CCCCCC;
    position: relative; }
    label span i {
    	 margin: 3px 2px 0px 0;
      display: none;
      color: #CCCCCC;
      position: absolute;
      font-size: 30px !important;
      top: -15px;
      left: 0; }
    .right .redParent {
    	position: relative;
    }
    .right .red {
    	color: red;
    	position: absolute;
    	right: 24%;
    	top: 0;
    }
    
     .left .red {
    	        color: red;
    position: absolute;
    left: 35%;
    top: 148px;
    }
    
	
</style>
<div id="content-header">
    <div id="breadcrumb"> <a  title="Go to Home" class="tip-bottom"><i class="icon-home"></i> 项目信息</a> 
    	<a ui-serf="home.staff" class="current">项目信息</a> </div>
</div>	
<div class="container-fluid">
    <div class="row-fluid">
      <div class="span12">
		<div class="widget-box">
            <div class="widget-content nopadding" >
            	<ul id="myTab" class="nav nav-tabs" style="margin: 0 0 20px 0;text-align: center; height: 0px; border: none;">
						<!--<li  ng-class="{true:'active'}[staff.staff]"  style="width: 33%;" ng-click="isshow('staff')">
							<a  data-toggle="tab" style="color: #000000;" >
								 基本信息
							</a>
						</li>
						<li ng-class="{true:'active'}[staff.login]"  style="width: 33%;" ng-click="isshow('login')">
							<a  data-toggle="tab" style="color: #000000;" >
								 账号信息
							</a>
						</li>
						<li ng-class="{true:'active'}[staff.activen]"  style="width: 33%;"  ng-click="isshow('activen')">
							<a style="color: #000000;" data-toggle="tab">
								档案信息
							</a>
						</li>-->
				</ul>
				<form  class="addupdate" name="addupdate"  novalidate="novalidate">
                 	<div class="left">
                    	<p class="p">
                    		<span class="text">项目编号 </span>
                    		<input type="text"  autocomplete="off"  name="pSerialNum" ng-model="add.pSerialNum" required/>
                    		<span class="warn"  ng-if="addupdate.pSerialNum.$error.required">*</span>
                    	</p>
                    	<p class="p"> 
                    		<span class="text">项目名称 </span>
                    		<input type="text"  autocomplete="off" name="pName" ng-model="add.pName" required/>
                    		<span class="warn"  ng-if="addupdate.pName.$error.required">*</span>
                    	</p>
                    	<p class="redParent"> 
                    		<span class="text">实施部门 </span>
                    		<select-url item-array="department"  selected="add.did" value="did"></select-url>
                    		<span class="red" >*</span>
                    	</p >
                    	<p class="p"> 
                    		<span class="text">项目类型 </span>
                    		<!--<select-url item-array="projectTypeDic"  selected="add.pType" value="pType"></select-url>-->
                    		<select  ng-model="add.pType"  
                    			ng-options="o as o.diName for o in projectTypeDic"  name="pType" ></select>
                    			<span class="warn" >*</span>
                    	</p >
                    	<p class="p"> 
                    		<span class="text">项目状态 </span>
                    		<!--<select-url item-array="projectStateDic"  selected="add.pStatus" value="pStatus"></select-url>-->
                    		<select  ng-model="add.pStatus"  
                    			ng-options="o.diId as o.diName for o in projectStateDic"></select>
                    	</p >
                    	<p class="p"> 
                    		<span class="text">项目负责人 </span>
                    		<input type="text" autocomplete="off" name="pResponsible" ng-model="add.pResponsible" />
                    	</p>
                    	<p class="p"> 
                    		<span class="text">联系方式 </span>
                    		<input type="text" autocomplete="off" name="pResponsibleContact"  ng-model="add.pResponsibleContact" />
                    	</p>
                    </div>
                    <div class="right">
                    	<p class="redParent"> 
                    		<span class="text">销售负责人 </span>
                    		<select-url item-array="staffsale"   selected="add.pSaler" value="salers"></select-url>
                    	</p >
                    	<p class="p"> 
                    		<span class="text">开工日期 </span>
                    		<datetimepicker  class="datetimepicker"  ng-model="pickertime" ></datetimepicker>
                    	</p>
                    	<p class="p"> 
                    		<span class="text">竣工日期 </span>
                    		<time-Pice  class="datetimepicker"  ng-model="pickertimes" ></datetimepicker>
                    	</p>
						<p class="p"> 
                    		<span class="text">是否结束</span>
                    		<select  ng-model="add.pBreakUp"  
                    			ng-options="o.id as o.name for o in sexList"></select>
                    	</p>
                    	<p class="p"> 
                    		<span class="text">项目所在地</span>
                    	<input type="text"  autocomplete="off" ng-model="add.address" />
                    	</p>
                    	<p class="p">
                    		<span class="text">项目描述</span>
                    		<textarea type="text" ng-model="add.pRemark" />
                    	</p>
                    	<p class="submitButton p">
                    		<button  ng-class="{true:'btn-primary'}[addupdate.$invalid||add.did==null||add.pType.diId==-1]" 
											      	 	ng-disabled="addupdate.$invalid||add.did==null||add.pType.diId==-1" type="submit" 
											      	 	class="btn  greenbtn"  ng-click="sub('login')" >提交</button>
                    		<button class="btn" ng-click="rement()" >取消</button>
                    	</p>
                    </div>
                </form>
              
            </div>
        </div>
    </div>
</div>
